import { getData } from '@/servers/http'
//获取下一页五指图数据
export const getBarriers = () => getData(`/users/my-record`)
export const getBarriersNext = (next_id: string) => getData(`/users/my-record?next_id=${next_id}`)
//获取上一页数据
export const getBarriersLast = (last_id: string) => getData(`/users/my-record?last_id=${last_id}`)

// 马兰花带token的record
export const getBarriersMalan = (authToken: string) => getData(`/users/my-record?auth_token=${authToken}`)
export const getBarriersNextMalan = (next_id: string, authToken: string) => getData(`/users/my-record?next_id=${next_id}&auth_token=${authToken}`)
// 获取上一页数据
export const getBarriersLastMalan = (last_id: string, authToken: string) => getData(`/users/my-record?last_id=${last_id}&auth_token=${authToken}`)
